#include <glib.h>

int main(int argc, char *argv[])
{
	g_print("INT(%d):   min=%20x, max=%20x, umax=%20x\n", sizeof(gint),   G_MININT,   G_MAXINT,   G_MAXUINT);
	g_print("SHORT(%d): min=%20x, max=%20x, umax=%20x\n", sizeof(gshort), G_MINSHORT, G_MAXSHORT, G_MAXUSHORT);
	g_print("LONG(%d):  min=%20x, max=%20x, umax=%20x\n", sizeof(glong),  G_MINLONG,  G_MAXLONG,  G_MAXULONG);
	g_print("INT8(%d):  min=%20x, max=%20x, umax=%20x\n", sizeof(gint8),  G_MININT8,  G_MAXINT8,  G_MAXUINT8);
	g_print("INT16(%d): min=%20x, max=%20x, umax=%20x\n", sizeof(gint16), G_MININT16, G_MAXINT16, G_MAXUINT16);
	g_print("INT32(%d): min=%20x, max=%20x, umax=%20x\n", sizeof(gint32), G_MININT32, G_MAXINT32, G_MAXUINT32);
#ifdef G_HAVE_GINT64
       	g_print("INT64(%d): min=%12x%08x, max=%12x%08x, umax=%12x%08x\n", sizeof(gint64),
		(G_MININT64  & 0xffffffff00000000) >> 32, G_MININT64 & 0x00000000ffffffff, 
		(G_MAXINT64  & 0xffffffff00000000) >> 32, G_MAXINT64 & 0x00000000ffffffff,
		(G_MAXUINT64 & 0xffffffff00000000) >> 32, G_MAXUINT64 & 0x00000000ffffffff);
#endif

	return 0;
}
